package itheima.com.zuoye.d01;

public class Test {
    public static void main(String[] args) {
//        请在程序中，分别创建三个对象，且给对象属性赋值，并调用方法在控制台输出结果。
        Insiders insiders1 = new Coder("张三",1001,5000);
        insiders1.work();
        Insiders insiders2 = new Recruiter("李四",1002,5000,5000);
        insiders2.work();
        Insiders insiders3 = new Manager("王五",1003,5000,5000);
        insiders3.work();
    }
}
